const state = {
  advertObj: {
    height: "70",
    imgUrl: require("@/assets/config_images/bg.png")
  }
}

const mutations = {
  SET_ADVEROBJ: (state, advertObj) => {
    state.advertObj = advertObj;
  }
}
const actions = {
  setAdvert({ commit }, obj) {
    commit("SET_ADVEROBJ", obj)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
